package com.zhu.vo;

import com.zhu.pojo.Dept;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeptVo extends Dept {

    private List<Dept> children;

    @Override
    public String toString() {
        return "DeptVo{" +
                "children=" + children +
                "} " + super.toString();
    }
}
